From 331f9762cc7bb3c8fc33b4844cdf10042520f643 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Tue, 3 Apr 2018 20:01:54 +0100 Subject: [PATCH] CellRenderer: Link to CellEditable.start_editing() ...from CellRenderer::start-editing, to point people in the direction of info about the lifecycle of the Editable and how to do generic setup. https://gitlab.gnome.org/GNOME/gtk/issues/154 --- gtk/gtkcellrenderer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c index 8abb0bf4d3..9bbfd4a3ec 100644 --- a/gtk/gtkcellrenderer.c +++ b/gtk/gtkcellrenderer.c @@ -246,6 +246,9 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class) * on @editable, e.g. adding a #GtkEntryCompletion or setting * up additional columns in a #GtkComboBox. * + * See gtk_cell_editable_start_editing() for information on the lifecycle of + * the @editable and a way to do setup that doesn’t depend on the @renderer. + * * Note that GTK+ doesn't guarantee that cell renderers will * continue to use the same kind of widget for editing in future * releases, therefore you should check the type of @editable -- 2.30.2